.login-container {
    width: 100%;
    height: calc(100% - 50px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog {
    width: 400px;
    height: 245px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.login-dialog h3 {
    text-align: center;
    padding: 25px 0 15px;
}

/* 针对一行设置样式 */
.login-dialog .row {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog .row span {
    display: block;
    /* 设置固定值，能让文字和后面的输入框之间有间隙 */
    width: 60px;
    font-weight: 700;
}

/* 输入框 */
.login-dialog #username,
.login-dialog #password {
    width: 200px;
    height: 33px;

    font-size: 15px;
    text-indent: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.login-dialog .submit-row {
    margin-top: 10px;
}

.login-dialog #submit {
    width: 260px;
    height: 35px;
    color: white;
    background-color: rgb(0, 128, 0);
    border: none;
    border-radius: 10px;
    font-size: 20px;
    margin-top: 5px;
}

/* 按按钮后的反应 */
.login-dialog #submit:active {
    background-color: #666;
}